/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package au.csiro.nt.psdp.manager.Impl;

import au.csiro.nt.psdp.manager.ImsManager;
import java.util.List;
import au.csiro.nt.psdp.model.Ims;
import au.csiro.nt.psdp.dao.ImsDao;
/**
 *
 * @author Jingyu ZHANG
 */
public class ImsManagerImpl implements ImsManager{
    private ImsDao dao;
        public void setImsDao(ImsDao dao)
    {
        this.dao = dao;
    }
    public Ims getIms(int pIms){
         return dao.getaIms(pIms);
    }
    public List getImss(){
        return null;
    }
    public List getImss(String user){
        return dao.getIms(user);
    }
    public int saveIms(Ims ims){
        return dao.saveIms(ims);
    }
}
